.gantt-panel {
    overflow: auto;
    height: 100%;
    position: relative;
    min-height: 300px;
}

.gantt-panel div {
    box-sizing: border-box !important;
}

.gantt-lt {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 9999;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    /* tt */
    background-color: #f6f6f6;
}

.gantt-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.gantt-left-head {
    position: sticky;
    left: 0;
    top: 0;
    background-color: #f6f6f6;
    border-right: 1px solid #ddd;
    z-index: 9900;
    min-height: 100%;
    font-size: 12px;
}

.gantt-left-row {
    display: flex;
    align-items: center;
    user-select: none;
    padding: 0px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.gantt-top {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    min-width: 100%;
}

.gantt-top-head {
    position: sticky;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    background-color: #f6f6f6;
    z-index: 9900;
    min-width: 100%;
}

.gantt-top-head-line {
    overflow: hidden;
}

.gantt-top-col {
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gantt-center {
    position: absolute;
    z-index: 99;
}

.gantt-center-column {
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gantt-task {
    position: absolute;
    font-size: 12px;
    padding: 4px 0;
}

.gantt-task:hover {
    z-index: 9999;
}

.gantt-task-line {
    position: relative;
    background-color: #91c7ff;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    z-index: 100;
}


.gantt-task-line-border{
    border: 1px solid #fff;
}
.gantt-task:hover .gantt-task-line{
    border: 2px solid #ddd;
}
.gantt-task-line-bar {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2d8cf0;
    height: 100%;
    border-radius: 4px;
    z-index: 200;
}

.gantt-task-line-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 300;
    color: #ffffff;
    font-size: 12px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gantt-task.danger .gantt-task-line {
    background-color: #f5abab;
}

.gantt-task.danger .gantt-task-line-bar {
    background-color: #f56c6c;
}

.gantt-task.warning .gantt-task-line {
    background-color: #f7d8aa;
}

.gantt-task.warning .gantt-task-line-bar {
    background-color: #ff9b07;
}

.gantt-task.info .gantt-task-line {
    background-color: #9de4fa;
}

.gantt-task.info .gantt-task-line-bar {
    background-color: #02BAF0;
}

.gantt-task.success .gantt-task-line {
    background-color: #89dccb;
}

.gantt-task.success .gantt-task-line-bar {
    background-color: #1dc5a3;
}
